

<table width="100%">
	<tr>
		<td width="15%"><?php echo CHtml::image(Yii::app()->request->baseUrl.'/images/logo.png'); ?></td>
		<td width="85%">
		<h4><strong>PT. ANUGERAH BERSAMA BERKAH ABADI</strong></h4>
		<h4><strong>PRODUCTION</strong></h4>
		</td>
	</tr>
</table>


	

	<div class="form">
	List Health
	<br/>
	<table border="1">
	<thead>
		
		<tr>
			<th style="text-align:center">Client Name</th>
			<th style="text-align:center">Periode</th>
			<th style="text-align:center">Currency</th>
			<th style="text-align:center">Gross Premium</th>
			<th style="text-align:center">Brokerage</th>
			<th style="text-align:center">Class Of Bussiness</th>
		</tr>
	</thead>
	<tbody>
	<?php 
	$total_health_rp = 0;
	$total_health_dolar = 0;
	$total_health_euro = 0;
	
	$total_healthbroker_rp = 0;
	$total_healthbroker_dolar = 0;
	$total_healthbroker_euro = 0;
	
	for($i=0;$i<count($data);$i++){ 
	?>
		<tr>
			<td><?=$data[$i]['nama_client']?></td>
			<td><?=$data[$i]['start_periode']." s/d ".$data[$i]['end_periode']?></td>
			<td><?=$data[$i]['currency']?></td>
			<td><?=number_format($data[$i]['nominal'])?></td>
			<td><?=number_format($data[$i]['brokerage'])?></td>
			<td><?=$data[$i]['type']?></td>
		</tr>
	<?php } ?>			
	</tbody>
	</table>
	</div>
	
	<div class="form">
	List Non Health
	<br/>
	<table border="1">
	<thead>
		
		<tr>
			<th style="text-align:center">Client Name</th>
			<th style="text-align:center">Periode</th>
			<th style="text-align:center">Currency</th>
			<th style="text-align:center">Gross Premium</th>
			<th style="text-align:center">Brokerage</th>
			<th style="text-align:center">Class Of Bussiness</th>
		</tr>
	</thead>
	<tbody>
				
	</tbody>
	</table>
	</div>
		
